<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_id" data-rule="required" data-source="product/product/index" data-params='{"custom[deploy_type]":"10","custom[attr_id]":"24"}' data-field="title" class="form-control selectpage" name="row[product_id]" type="text" value="{$row.product_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pinpai')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pinpai" data-rule="required" class="form-control" name="row[pinpai]" type="text" value="{$row.pinpai|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xinghao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xinghao" class="form-control" name="row[xinghao]" type="text" value="{$row.xinghao|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Leixing')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leixing" class="form-control" name="row[leixing]" type="text" value="{$row.leixing|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dengxiao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dengxiao" class="form-control" name="row[dengxiao]" type="text" value="{$row.dengxiao|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Leibie')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leibie" class="form-control" name="row[leibie]" type="text" value="{$row.leibie|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zaoyin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zaoyin" class="form-control" name="row[zaoyin]" type="text" value="{$row.zaoyin|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fangshi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fangshi" class="form-control" name="row[fangshi]" type="text" value="{$row.fangshi|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhuansu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhuansu" class="form-control" name="row[zhuansu]" type="text" value="{$row.zhuansu|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chicun')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chicun" class="form-control" name="row[chicun]" type="text" value="{$row.chicun|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jiekou')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jiekou" class="form-control" name="row[jiekou]" type="text" value="{$row.jiekou|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Srqcc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-srqcc" class="form-control" name="row[srqcc]" type="text" value="{$row.srqcc|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Srqgd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-srqgd" class="form-control" name="row[srqgd]" type="text" value="{$row.srqgd|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-img" data-rule="required" class="form-control" size="50" name="row[img]" type="text" value="{$row.img|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-img" class="btn btn-danger faupload" data-input-id="c-img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-img" class="btn btn-primary fachoose" data-input-id="c-img" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-img"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-img"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
